package com.itheima.monitor;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
import org.springframework.cloud.netflix.turbine.EnableTurbine;

/**
 * @author Administrator
 * @EnableHystrixDashboard  开启Hystrix仪表盘监控功能
 * @EnableTurbine //开启Turbine 很聚合监控功能
 */
@SpringBootApplication
@EnableHystrixDashboard
@EnableTurbine
public class MonitorApp {

    public static void main(String[] args) {
        SpringApplication.run(MonitorApp.class);
    }
}
